package cn.zdq.pictureselector

import android.app.Application
import android.content.Context
import cn.zdq.picture_lib.app.IApp
import cn.zdq.picture_lib.app.PictureAppMaster

/**
 *
 * @Description:
 * @Author: zhoudequn
 * @CreateDate: 2021/9/3 10:51
 */
class App : Application(), IApp {

    override fun getAppContext(): Context {
        return this
    }

    override fun onCreate() {
        super.onCreate()
        PictureAppMaster.getInstance().setApp(this)
    }
}